/*
 ******************************************************************
 *
 * Michael Rudolph
 * AccelMote.nc - configuration for the mobile mote used for
 *                concurrent RSSI positional tracking and
 *                and acceleration reading collection.
 *
 ******************************************************************
*/

includes Custom;
includes Constants;

configuration AccelMote {
}
implementation {
  components Main, AccelMoteM,
             LedsC,
			 TimerC,
			 GenericComm as Comm,
			 DelugeC;

  Main.StdControl -> AccelMoteM.StdControl;
  Main.StdControl -> TimerC;
  Main.StdControl -> DelugeC;

  AccelMoteM.Timer -> TimerC.Timer[unique("Timer")];
  AccelMoteM.Leds -> LedsC;
  AccelMoteM.CommControl -> Comm;
  AccelMoteM.Send -> Comm.SendMsg[AM_CUSTOMMSG];
  AccelMoteM.Recv -> Comm.ReceiveMsg[AM_CUSTOMMSG];

}
